package com.eaero.tool;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author zb
 * @Date 2024/3/7 15:38
 */
@Service
public class MroBorrowToolsService implements ThirdBorrowToolService{
    @Autowired
    private CommonToolsService commonToolsService;

    @Override
    public String checkBorrowOrder() {
        //判断 orderCode orderType
        //调接口
        return "MroBorrowToolsService.checkBorrowOrder";
    }

    @Override
    public String checkBorrowTools() {
        return "mro 不检查工具";
    }

    @Override
    public String doThirdBorrowTools() {
        return "MroBorrowToolsService.doRpc.borrowToolsList";
    }

    @Override
    public String updateToolStatus() {
        return null;
    }

    @Override
    public String saveBorrowRecord() {
        return commonToolsService.saveBorrowRecord();
    }
}
